﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace PalBattleEmulator.Graphic.Unit
{
    public abstract class UnitGraphic
    {
        protected int posX;       //左上角X坐标
        protected int posY;       //左上角Y坐标


        public UnitGraphic(int posX, int posY)
        {
            this.posX = posX;
            this.posY = posY;
        }

        public abstract Int32Rect Rect
        {
            get;
        }

        public abstract int Stride
        {
            get;
        }

        public abstract byte[] UpdateGraphic();

    }
}
